import request from '../utils/request'

export const UserListApi = (pageNum , pageSize , data) => {
  return request({
    url: `/travel/member/user/list?pageNum=${pageNum}&pageSize=${pageSize}`,
    method: 'post',
    data
  });
};


export const updateUserApi = (id,params) => {
  return request({
    url: `/travel/member/user/update/${id}`,
    method: 'put',
    data:params  
  });
};
export const deleteUserApi = (id) => {
  return request({
    url: `/travel/member/user/delete/${id}`,
    method: 'delete'
  });
};
